package ru.spb.osll.myfit.server.parser;

import static org.junit.Assert.*;

import org.junit.Test;

import ru.spb.osll.myfit.common.PageElement;

public class PathElementParserTest {
  private PathElementParser pathParser = new PathElementParser();
  
  @Test
  public void testPathParser(){
    String path = "!path anyPath; and other path; and so on;";
    assertTrue(pathParser.matches(path));
    PageElement element = pathParser.parse(path);
    assertNull(element);
  } 
}
